package com.hm.ipay.domain;

import com.hm.ipay.entity.GameInstance;

import java.math.BigDecimal;
import java.util.Date;

public class GameList {
    private GameInstance instance;   // 游戏信息
    private int winNum; // 胜者数量
    private BigDecimal winnerEarnings;  // 胜者总收益
    private BigDecimal averageEarnings;  // 胜者人均收益
    private int partInNumer;  // 参与人数
    private BigDecimal totalCost;  // 合计费用
    private Date remaining;  // 剩余时间
    private int isPart;  // 某用户是否参与了

    public BigDecimal getTotalCost() {
        return totalCost;
    }

    public void setTotalCost(BigDecimal totalCost) {
        this.totalCost = totalCost;
    }

    public int getWinNum() {
        return winNum;
    }

    public void setWinNum(int winNum) {
        this.winNum = winNum;
    }

    public int getIsPart() {
        return isPart;
    }

    public void setIsPart(int isPart) {
        this.isPart = isPart;
    }

    public GameInstance getInstance() {
        return instance;
    }

    public void setInstance(GameInstance instance) {
        this.instance = instance;
    }

    public int getWinnerCount() {
        return winNum;
    }

    public void setWinnerCount(int winNum) {
        this.winNum = winNum;
    }

    public BigDecimal getWinnerEarnings() {
        return winnerEarnings;
    }

    public void setWinnerEarnings(BigDecimal winnerEarnings) {
        this.winnerEarnings = winnerEarnings;
    }

    public BigDecimal getAverageEarnings() {
        return averageEarnings;
    }

    public void setAverageEarnings(BigDecimal averageEarnings) {
        this.averageEarnings = averageEarnings;
    }

    public int getPartInNumer() {
        return partInNumer;
    }

    public void setPartInNumer(int partInNumer) {
        this.partInNumer = partInNumer;
    }

    public Date getRemaining() {
        return remaining;
    }

    public void setRemaining(Date remaining) {
        this.remaining = remaining;
    }

}
